<table cellpadding="3" cellspacing="1" class="table table-bordered table-hover" id="list-table">
    <thead>
    <tr>
        <th align="center" >姓名</th>
        <th align="center" >订单笔数</th>
        <th align="center" >订单金额</th>
        <th align="center" >支付工费</th>
        <th align="center">日明细</th>
        <th style="display:none"></th>
    </tr>
    </thead>

<#if (registerOrderList?size>0) >
    <#list  registerOrderList as registerOrder>
        <tbody>
        <tr>
            <td align="center" valign="top" nowrap="nowrap">
                <#if (registerOrder.accepterName)??>
                    ${registerOrder.accepterName}
                </#if>
            </td>
            <td align="center" valign="top" nowrap="nowrap">
                <#if (registerOrder.registerCount)??>
                    ${registerOrder.registerCount}
                </#if>
            </td>
            <td align="center" valign="top" nowrap="nowrap">
                <#if (registerOrder.registerTotal)??>
                    ${registerOrder.registerTotal}
                </#if>
            </td>
            <td align="center" valign="top" nowrap="nowrap">
                <#if (registerOrder.registerPayoffTotal)??>
                    ${registerOrder.registerPayoffTotal}
                </#if>
            </td>
            
            <td align="center" valign="top" nowrap="nowrap">
             
              <#if (registerOrder.accepterid)??>
               		 <button type="button" onclick="buttonSubmit(this,2)" class="btn btn-info">入口</button>
             		 <button type="button" onclick="buttonSubmit(this,1)" class="btn btn-info">类型</button>
               </#if>
            </td>
            <td   style="display:none">
                ${(registerOrder.accepterid)?c}
            </td>
        </tr>
        </tbody>
    </#list >
</#if>
</table>
 <span style="display:none;" id="joo">${jo}</span>
 
<script type="text/javascript">
    listTable.currentPage =${(page.currentPage)?c};
    listTable.pageCount =${(page.totalPage)?c};
    listTable.recordCount =${(page.allRow)?c};
  	var data=eval("("+$("#joo").html()+")");  
  	paintClumn(data);
  	
</script>
<!--分页-->
<table id="page-table" cellspacing="0">
    <tr>
        <td align="right" nowrap="true">
            <div id="turn-page">
                共<span id="totalRecords">${page.allRow} </span>条记录&nbsp;
                共<span id="totalPages">${page.totalPage}</span> 页&nbsp;
                当前第<span id="pageCurrent">${page.currentPage}</span>页&nbsp;

                每页显示记录条数 <input type='text' size='3' id='pageSize' value="${page.pageSize}"
                                onkeypress="return listTable.changePageSize(event)"/>
                <!--查询动作-->
                <input type='hidden' size='3' id='action' value="ajaxQueryStuff.action"/>


                <span id="page-link">
                    <a href="javascript:listTable.gotoPageFirst()">第一页</a>
                    <a href="javascript:listTable.gotoPagePrev()">前一页</a>
                    <a href="javascript:listTable.gotoPageNext()">下一页</a>
                    <a href="javascript:listTable.gotoPageLast()">最后一页</a>

                </span>
            </div>
        </td>

    </tr>
</table>


